package com.itheima.infoManager.arraylistDemo.manager.dao;

import com.itheima.infoManager.arraylistDemo.manager.domain.Student;

public abstract class BaseStudentDao {

    //添加
    public abstract boolean addStudent(Student stu);

    //返回数组——查看
    public abstract Student[] findAllStudent();

    //删除
    public abstract boolean deleteStudent(String delId);

    //根据id查找其学生对象所在数组索引处
    public abstract int getIndex(String id);

    //修改
    public abstract boolean updateStudent(String upId, Student student);
}
